package com.yxw.yxnet_cd_center.customer_service.entity;



import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
//import lombok.EqualsAndHashCode;



@Data
@NoArgsConstructor
@TableName("customer_to_flock")
//@EqualsAndHashCode(callSuper = true)
public class CustomerToFlockEntity   implements Serializable
{
    private static final long serialVersionUID = 9169700813969L;
    /**
    *主键
    */
    @TableField("flock_user_id")
    @NotNull(message = "主键不可为空")
    @ApiModelProperty(value = "主键")
    private Long flockUserId;
    /**
    *人员ID
    */
    @TableField("user_id")
    @ApiModelProperty(value = "人员ID")
    private Long userId;
    /**
    *群ID
    */
    @TableField("flock_id")
    @NotNull(message = "群ID不可为空")
    @ApiModelProperty(value = "群ID")
    private Long flockId;
    /**
    *群名称
    */
    @TableField("flock_name")
    @ApiModelProperty(value = "群名称")
    private String flockName;
}

